package com.situ.mall.dao;

import java.util.List;

import com.situ.mall.entity.Product;

public interface ProductMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Product record);

    int insertSelective(Product record);

    Product selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Product record);

    int updateByPrimaryKey(Product record);

	List<Product> pageList(Product product);

	int deleteAll(Integer[] ids);

	List<Product> selectProductByCategoryId(Integer categoryId);
}